import {
    @ButtonProperty,
    @CheckboxProperty,
    Color,
    @ColorProperty,
    @PercentSliderProperty,
    @SelectorProperty,
    @SwitchProperty,
	@SliderProperty,
    @TextProperty,
    @Vigilant,
    @NumberProperty,
} from './vigilance';


@Vigilant('AttributeHighlightConfig', '§6Attribute Highlight Settings')
class AttributeHighlightSettings {
    constructor() {
        this.initialize(this);
        this.setCategoryDescription("Attribute Highlight", 
`
&6&l属性高亮设置
&f/bza atth可以调整
&f高亮显示带有一个或两个特定词条的物品
`
        );
    }

    @SwitchProperty({
        name: "启用属性高亮",
        description: "启用或禁用高亮功能",
        category: "Attribute Highlight",
        subcategory: "General"
    })
    AttributeHighlight = false;

    @TextProperty({
        name: "词条 1",
        description: "要高亮的第一个词条",
        category: "Attribute Highlight",
        subcategory: "General",
        placeholder: "例如: mana_steal"
    })
    AttributeHighlightAtt1 = "";

    @TextProperty({
        name: "词条 2",
        description: "要高亮的第二个词条",
        category: "Attribute Highlight",
        subcategory: "General",
        placeholder: "例如: dominance"
    })
    AttributeHighlightAtt2 = "";

    @ColorProperty({
        name: "高亮颜色",
        description: "设置高亮框的颜色",
        category: "Attribute Highlight",
        subcategory: "General"
    })
    AttributeHighlightColor = new Color(1, 0, 0, 0.5);

    @SelectorProperty({
        name: "匹配模式",
        description: "选择高亮匹配模式",
        category: "Attribute Highlight",
        subcategory: "General",
        options: ["匹配任意一个", "匹配全部"]
    })
    AttributeHighlightMode = 0;
}

export default new AttributeHighlightSettings(); 